package enjoyhiking.context;

public class EnjoyHikingConfig 
{
	public enum ACTIVITY_TYPE
	{
		WALK,
		RUN,
		STOP,
		STAIR
	}
	
	String 			mUserName 						= null;
	
	boolean 		mIsBackgroundServiceEnabled 	= false;
	
	ACTIVITY_TYPE	mActivityType					= ACTIVITY_TYPE.WALK;

	boolean 		mIsLocationEnabled				= false;
	boolean			mIsAccelerometerEnabled			= false;
	boolean			mIsOrientationEnabled			= false;
	boolean			mIsMagneticFieldEnabled			= false;
	
	public ACTIVITY_TYPE getActivityType() 
	{
		return mActivityType;
	}

	public void setActivityType(ACTIVITY_TYPE type) 
	{
		this.mActivityType = type;
	}
	
	public String getUserName() 
	{
		return mUserName;
	}
	
	public void setUserName(String mUserName) 
	{
		this.mUserName = mUserName;
	}
	
	public boolean isBackgroundServiceEnabled() 
	{
		return mIsBackgroundServiceEnabled;
	}
	
	public void setBackgroundServiceEnabled(boolean enabled) 
	{
		this.mIsBackgroundServiceEnabled = enabled;
	}
	
	public boolean isLocationEnabled() 
	{
		return mIsLocationEnabled;
	}
	
	public void setLocationEnabled(boolean enabled) 
	{
		this.mIsLocationEnabled = enabled;
	}
	
	public boolean isAccelerometerEnabled() 
	{
		return mIsAccelerometerEnabled;
	}
	
	public void setAccelerometerEnabled(boolean enabled) 
	{
		this.mIsAccelerometerEnabled = enabled;
	}
	
	public boolean isOrientationEnabled() 
	{
		return mIsOrientationEnabled;
	}
	
	public void setOrientationEnabled(boolean enabled) 
	{
		this.mIsOrientationEnabled = enabled;
	}
	
	public boolean isMagneticFieldEnabled() 
	{
		return mIsMagneticFieldEnabled;
	}
	
	public void setMagneticFieldEnabled(boolean enabled) 
	{
		this.mIsMagneticFieldEnabled = enabled;
	}
	
	
	
	
}
